:root {
  /* 标题 */
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: linear-gradient(135deg, #804c15 10%, #545edb 80%);

  /* 图标背景 */
  --vp-home-hero-image-background-image: linear-gradient(135deg, #804c15 10%, #545edb 80%);
  --vp-home-hero-image-filter: blur(150px);
}

  /* vitepress-plugin-search 插件样式覆盖 */
.DocSearch-Button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: transparent;
  transition: border-color 0.25s;
}

@media (min-width: 768px) {
  .DocSearch-Button {
    justify-content: flex-start;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 10px 0 12px;
    width: 100%;
    height: 40px;
    background-color: var(--vp-c-bg-alt);
  }
  .VPPluginSearch-modal{
    max-width: 50% ;
    width: 60%;
  }
}

@media (max-width: 768px) {
  .DocSearch-Button-Keys {
    display: none;
  }

  .VPNavBarHamburger {
    height: 32px !important;
    width: 32px !important;
    border-radius: 4px;
  }
  .VPPluginSearch-modal{
    max-width: 90% ;
    max-width: 90% ;
  }
}

.DocSearch-Button:hover {
  border-color: #545edb;
}
.VPPluginSearch-modal{
  margin:auto;
  z-index: 100;
  margin-top: 64px;
}